<?php
/**
 * @author qingyu8@staff.weibo.com
 * @date 2018/04/19
 */
namespace common\models;

use common\models\Ship as ShipModel;
use yii\helpers\Inflector;

class Occupancy extends Base {
    /**
     * @inheritdoc
     */
    public static function tableName() {
        return 'dive_occupancy';
    }

    const DOUBLE = 'Double Occupancy';
    const SHARE = 'Twin Share';
    const SINGLE = 'Single Occupancy';
    const QUAD = 'Quad Occupancy';
    const QUAD_SHARE = 'Quad Share';
    const TRIPLE = 'Triple Occupancy';
    const TRIPLE_SHARE = 'Triple Share';

    const TEXT = [
        self::DOUBLE => '双人',
        self::SHARE => '双人分享',
        self::SINGLE => '独占',
        self::QUAD => '四人居住',
        self::QUAD_SHARE => '四人共享',
        self::TRIPLE => '三人居住',
        self::TRIPLE_SHARE => '三人共享',
    ];

}
